package com.silentfish.core.baseModel;

public class BaseDTO {

    private Integer start = 0;
    private Integer length = 10;

    public BaseDTO() {
    }

    public Integer getlength() {
        return this.length <= 0 ? 1 : this.length;
    }

    public void setlength(Integer length) {
        this.length = length;
    }

    public Integer getStart() {
        return this.start <= 0 ? 0 : this.start;
    }

    public void setStart(Integer start) {
        this.start = start;
    }

}
